package vip.xiaonuo.biz.modular.detect.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import vip.xiaonuo.biz.modular.detect.service.utils.PythonProcessor;
import vip.xiaonuo.biz.modular.detect.service.utils.PythonProcessorAsync;

/**
 * @author
 * @date 2023/11/7、14:50
 */
@Configuration
public class ProcessConfig {

    @Bean
    public PythonProcessorAsync pythonProcessorAsync() {
        return new PythonProcessorAsync();
    }

    @Bean
    public PythonProcessor pythonProcessor(){
        return new PythonProcessor();
    }
}
